package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.TblWpDeliveryUnitPrice;

import java.util.Map;

/**
 * WP-唯品发货单价 服务类
 * @author Ximi
 * @since 2020-10-30
 */

public interface ITblWpDeliveryUnitPriceService extends IBaseService {
    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     * @throws ServiceException
     */
    public TblWpDeliveryUnitPrice getFoot(Map<String, Object> params) throws ServiceException;

    //public void save(TblWpDeliveryUnitPrice originData, TblWpDeliveryUnitPrice newData) throws ServiceException;

    /**
     * 删除数据 通过批次编号
     *
     * @param minBatchNumber
     * @param maxBatchNumber
     */
    public void deleteByBatchNumbers(String minBatchNumber, String maxBatchNumber);

    /**
     * 刷新
     * @throws Exception
     */
    public void refresh() throws Exception;
}

